name := "template"

version := "0.1.0"

scalaVersion := "2.10.1"

scalacOptions += "-deprecation"


resolvers+= "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots"

resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"

resolvers += "Java.net Maven2 Repository mirrors1" at "http://mirrors.ibiblio.org/pub/mirrors/maven2"

resolvers += "Java.net Maven2 Repository mirrors2" at "http://maven2.mirrors.skynet.be/pub/maven2"

resolvers+=   "Sonatype releases" at "http://oss.sonatype.org/content/repositories/releases"

libraryDependencies += "net.liftweb" % "lift-webkit_2.10" % "2.5.1" % "compile->default"

libraryDependencies += "net.liftweb" % "lift-json_2.10" % "2.5.1"

libraryDependencies += "net.liftweb" % "lift-mapper_2.10" % "2.5.1"


libraryDependencies += "com.h2database" % "h2" % "1.3.170"

libraryDependencies += "ch.qos.logback" % "logback-classic" % "0.9.28" % "compile->default"

libraryDependencies += "commons-codec" % "commons-codec" % "1.7"


libraryDependencies += "org.jboss.netty" % "netty" % "3.2.2.Final"


libraryDependencies += "org.mortbay.jetty" % "jetty" % "6.1.22" % "container"

libraryDependencies += "org.scala-tools.time" % "time_2.9.1" % "0.5"

libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.21"

//第三方dispatch
//libraryDependencies += "net.databinder.dispatch" % "core_2.10" % "0.11.0"
libraryDependencies += "net.databinder.dispatch" % "dispatch-core_2.10" % "0.11.0"

//第三方json工具，用来将外部返回的json格式字符串序列化成对象
//libraryDependencies += "org.json4s" %% "json4s-jackson" % "3.2.4"

sbtPlugin := true

organization := "BrantYan"

unmanagedClasspath in Compile <++= baseDirectory map { base =>
  val lib = base / "lib"
  Seq(
    lib / "servlet-api-2.3.jar"
  )
}

seq(webSettings :_*)

